package org.zsqx.bean;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import cDao.annotation.FieldTypeAnnotation;

/**
 * Linkman entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "LINKMAN", schema = "dbo", catalog = "BN4PS9Z220010012")
public class Linkman implements java.io.Serializable {

	// Fields
	@FieldTypeAnnotation(colum="lm_num",fieldType=Integer.class,isKey=true)
	private Integer lmNum;
	private String lmId;
	private String lmName;
	private String lmDq;
	private String lmWorks;
	private Timestamp lmAddtime;
	private String lmSex;
	private Integer lmZdz;
	private String lmUser;
	private Integer LmTypeId;
	private Double countPoint;
	private Double changePoint;
	private Double lastPoint;
	private Integer townId;
	// Constructors

	/** default constructor */
	public Linkman() {
	}

	/** minimal constructor */
	public Linkman(Integer lmNum, String lmId, String lmName) {
		this.lmNum = lmNum;
		this.lmId = lmId;
		this.lmName = lmName;
	}

	/** full constructor */
	public Linkman(Integer lmNum, String lmId, String lmName, String lmDq,
			String lmWorks, Timestamp lmAddtime, String lmSex, Integer lmZdz,
			String lmUser) {
		this.lmNum = lmNum;
		this.lmId = lmId;
		this.lmName = lmName;
		this.lmDq = lmDq;
		this.lmWorks = lmWorks;
		this.lmAddtime = lmAddtime;
		this.lmSex = lmSex;
		this.lmZdz = lmZdz;
		this.lmUser = lmUser;
	}

	// Property accessors
	@Id
	@Column(name = "LM_NUM", unique = true, nullable = false)
	public Integer getLmNum() {
		return this.lmNum;
	}

	public void setLmNum(Integer lmNum) {
		this.lmNum = lmNum;
	}

	@Column(name = "LM_ID", nullable = false, length = 11)
	public String getLmId() {
		return this.lmId;
	}

	public void setLmId(String lmId) {
		this.lmId = lmId;
	}

	@Column(name = "LM_NAME", nullable = false, length = 50)
	public String getLmName() {
		return this.lmName;
	}

	public void setLmName(String lmName) {
		this.lmName = lmName;
	}

	@Column(name = "LM_DQ", length = 50)
	public String getLmDq() {
		return this.lmDq;
	}

	public void setLmDq(String lmDq) {
		this.lmDq = lmDq;
	}

	@Column(name = "LM_WORKS", length = 50)
	public String getLmWorks() {
		return this.lmWorks;
	}

	public void setLmWorks(String lmWorks) {
		this.lmWorks = lmWorks;
	}

	@Column(name = "LM_ADDTIME", length = 23)
	public Timestamp getLmAddtime() {
		return this.lmAddtime;
	}

	public void setLmAddtime(Timestamp lmAddtime) {
		this.lmAddtime = lmAddtime;
	}

	@Column(name = "LM_SEX", length = 5)
	public String getLmSex() {
		return this.lmSex;
	}

	public void setLmSex(String lmSex) {
		this.lmSex = lmSex;
	}

	@Column(name = "LM_ZDZ")
	public Integer getLmZdz() {
		return this.lmZdz;
	}

	public void setLmZdz(Integer lmZdz) {
		this.lmZdz = lmZdz;
	}

	@Column(name = "LM_USER", length = 50)
	public String getLmUser() {
		return this.lmUser;
	}

	public void setLmUser(String lmUser) {
		this.lmUser = lmUser;
	}

	public Integer getLmTypeId() {
		return LmTypeId;
	}

	public void setLmTypeId(Integer lmTypeId) {
		LmTypeId = lmTypeId;
	}

	public Double getCountPoint() {
		return countPoint;
	}

	public void setCountPoint(Double countPoint) {
		this.countPoint = countPoint;
	}

	public Double getChangePoint() {
		return changePoint;
	}

	public void setChangePoint(Double changePoint) {
		this.changePoint = changePoint;
	}

	public Double getLastPoint() {
		return lastPoint;
	}

	public void setLastPoint(Double lastPoint) {
		this.lastPoint = lastPoint;
	}

	public Integer getTownId() {
		return townId;
	}

	public void setTownId(Integer townId) {
		this.townId = townId;
	}
	
	

}